package com.ckf.login_wx.util;

public class Idname {
	public static String getname(String name) {
		if(name.equals("单号"))name="odd";
		else if(name.equals("货物名称"))name="name";
		else if(name.equals("货单名称"))name="name";
		else if(name.equals("型号"))name="modele";
		else if(name.equals("数量"))name="quantite";
		else if(name.equals("单位"))name="unite";
		else if(name.equals("合计"))name="total";
		else if(name.equals("合计金额"))name="total";
		else if(name.equals("时间"))name="time";
		else if(name.equals("单价"))name="money";
		else if(name.equals("收货人"))name="name2";
		else if(name.equals("收货地址"))name="site";
		else if(name.equals("收货电话"))name="phone";
		else if(name.equals("身份证号"))name="cid";
		else if(name.equals("到期"))name="time2";
		else if(name.equals("操作人"))name="saisie";
		else if(name.equals("销售人员"))name="anq";
		else if(name.equals("名称"))name="name";
		else if(name.equals("类型"))name="type";
		else if(name.equals("制单人"))name="saisie";
		else if(name.equals("收入"))name="source";
		else if(name.equals("支出"))name="purpose";
		else if(name.equals("备注"))name="remark";
		else if(name.equals("支出备注"))name="remark";
		else if(name.equals("收入备注"))name="remark";
		else if(name.equals("收入来源"))name="remark";
		else if(name.equals("金额"))name="money";
		else if(name.equals("用户名"))name="username";
		else if(name.equals("姓名"))name="truename";
		else if(name.equals("电话"))name="phone";
		else if(name.equals("职位"))name="quxianname";
		else if(name.equals("重量"))name="weight";
		else if(name.equals("壁厚"))name="wall";
		else if(name.equals("颜色"))name="colour";
		else if(name.equals("生产人员"))name="saisie";
//		else if(name.equals(""))name="odd";
		
		return name;
	}

}
